var express = require('express');
var router = express.Router();
const IndexControllers = require('../controllers/index')
/* GET home page. */
router.get('/getList', function(req, res, next) {
  IndexControllers.getList(req,res);
});
router.post('/add',function(req,res,next){
  IndexControllers.add(req,res)
})
module.exports = router;